/**
 * kotlin 常量类
 */

object KotlinCons {
    const val kotlin_version = "1.3.50"  // kotlin版本
    const val gradle_version = "3.5.2"   // gradle版本
    const val appcompat_version = "1.0.2"
    const val corektx_version = "1.3.0"
    const val kotlin_reflect = ""
}

object DependenciesConfig {
    // eventbus
    const val EVENT_BUS = "org.greenrobot:eventbus:3.2.0"
    // ARouter
    const val AROUTER = "com.alibaba:arouter-api:1.5.2"
    const val AROUTER_COMPILER = "com.alibaba:arouter-compiler:1.5.2"
    // kotlin基础库
    const val STD_LIB = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${KotlinCons.kotlin_version}"
    // kotlin核心库
    const val KTX_CORE = "androidx.core:core-ktx:${KotlinCons.corektx_version}"
    // android标准库
    const val APP_COMPAT = "androidx.appcompat:appcompat:${KotlinCons.appcompat_version}"
    // RecyclerView
    const val RECYCLEVIEW = "androidx.recyclerview:recyclerview:1.2.0-alpha01"
    //kotlin-reflect - 解决报错：kotlin.jvm.KotlinReflectionNotSupportedError: Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath
    const val KOTLIN_REFLECT = "org.jetbrains.kotlin:kotlin-reflect:${KotlinCons.kotlin_reflect}"
    // 动态权限申请
    const val PERMISSION = "com.yanzhenjie:permission:2.0.3"

    // Retrofit网络请求
    const val RETROFIT = "com.squareup.retrofit2:retrofit:2.8.1"
    const val RETROFIT_JSON = "com.squareup.retrofit2:converter-gson:2.8.1"

    // viewpager
    const val VIEWPAGER = "com.zhy:magic-viewpager:1.0.1"
    const val MATERIAL = "com.google.android.material:material:1.0.0"

    // lottie
    const val LOTTIE = "com.airbnb.android:lottie:3.4.0"
}

object ModuleConfig {
    // 是否是一个app
    var isApp = false

    // 包名
    const val MODULE_APP_MANAGER = "com.wensi.module_app_manager"
    const val MODULE_CONSTELLATION = "com.wensi.module_constellation"
    const val MODULE_DEVELOPER = "com.wensi.module_developer"
    const val MODULE_JOKE = "com.wensi.module_joke"
    const val MODULE_MAP = "com.wensi.module_map"
    const val MODULE_SETTING = "com.wensi.module_setting"
    const val MODULE_VOICE_SETTING = "com.wensi.module_voice_setting"
    const val MODULE_WEATHER = "com.wensi.module_weather"
}